# coding: utf-8
from flask_sqlalchemy import SQLAlchemy


db = SQLAlchemy()



class RecommandInfo(db.Model):
    __tablename__ = 'recommand_info'

    AutoID = db.Column(db.BigInteger, primary_key=True, info='主键自增')
    ReUrl = db.Column(db.String(255), info='推荐所用到的资源')
    IsDelete = db.Column(db.Integer, server_default=db.FetchedValue(), info='状态0-正常，1-删除')
    CreateTime = db.Column(db.DateTime, server_default=db.FetchedValue())
